home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 21 / AACD 21.iso / AACD / Utilities / Ghostscript / src / gxropc.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-01-01  |  1.7 KB  |  48 lines

  1. /* Copyright (C) 1998 Aladdin Enterprises.  All rights reserved.
  2.   
  3.   This file is part of AFPL Ghostscript.
  4.   
  5.   AFPL Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author or
  6.   distributor accepts any responsibility for the consequences of using it, or
  7.   for whether it serves any particular purpose or works at all, unless he or
  8.   she says so in writing.  Refer to the Aladdin Free Public License (the
  9.   "License") for full details.
  10.   
  11.   Every copy of AFPL Ghostscript must include a copy of the License, normally
  12.   in a plain ASCII text file named PUBLIC.  The License grants you the right
  13.   to copy, modify and redistribute AFPL Ghostscript, but only under certain
  14.   conditions described in the License.  Among other things, the License
  15.   requires that the copyright notice and this notice be preserved on all
  16.   copies.
  17. */
  18.  
  19. /*$Id: gxropc.h,v 1.2 2000/09/19 19:00:40 lpd Exp $ */
  20. /* Internals for RasterOp compositing */
  21.  
  22. #ifndef gxropc_INCLUDED
  23. #  define gxropc_INCLUDED
  24.  
  25. #include "gsropc.h"
  26. #include "gxcomp.h"
  27.  
  28. /* Define RasterOp-compositing objects. */
  29. typedef struct gs_composite_rop_s {
  30.     gs_composite_common;
  31.     gs_composite_rop_params_t params;
  32. } gs_composite_rop_t;
  33.  
  34. #define private_st_composite_rop() /* in gsropc.c */\
  35.   gs_private_st_ptrs1(st_composite_rop, gs_composite_rop_t,\
  36.     "gs_composite_rop_t", composite_rop_enum_ptrs, composite_rop_reloc_ptrs,\
  37.     params.texture)
  38.  
  39. /*
  40.  * Initialize a RasterOp compositing function from parameters.
  41.  * We make this visible so that clients can allocate gs_composite_rop_t
  42.  * objects on the stack, to reduce memory manager overhead.
  43.  */
  44. void gx_init_composite_rop(P2(gs_composite_rop_t * pcte,
  45.                   const gs_composite_rop_params_t * params));
  46.  
  47. #endif /* gxropc_INCLUDED */
  48.